//
//  GetCaptchaButton.h
//  itboye_jsq_ios
//
//  Created by apple on 15/12/11.
//  Copyright © 2015年 itboye. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserModel.h"


@interface GetCaptchaButton : UIButton

@property (nonatomic, strong) UILabel *captchaLabel;// 标题


/**
 *  自定义初始化方法
 *
 *  @param frame           大小
 *
 *  @return self
 */
- (instancetype)initWithFrame:(CGRect)frame;



// 获取验证码，type：验证码用途类型
- (void)getCaptchaWithMobile:(NSString *)mobile type:(NSString *)type captchaBlock:(void(^)(NSString *captcha))captchaBlock;


@end
